-- GENERATED SPELL FOR [Thornfang Ravager] --


function spell0_19349(pUnit, Event) --@Ravage,n/a--
pUnit:FullCastSpellOnTarget(3242,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19349', 2309, 1)
end

function Sorts_19349(pUnit, Event)
local choix_sorts_19349 = math.random(0, 0)
if choix_sorts_19349 == 0 then
pUnit:RegisterEvent('spell0_19349', 1, 1)
end
end

function mob19349_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19349', math.random(1500, 3000), 1)
end

function mob19349_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19349_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19349_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19349, 1, 'mob19349_Action')
RegisterUnitEvent(19349, 2, 'mob19349_Leave')
RegisterUnitEvent(19349, 3, 'mob19349_Kill')
RegisterUnitEvent(19349, 4, 'mob19349_Die')
